#ifndef SAMPLE_BITMAP_H
#define SAMPLE_BITMAP_H

#include <cstdint>
#include <string>
#include <native_drawing/drawing_bitmap.h>
#include <native_drawing/drawing_color.h>
#include <native_drawing/drawing_canvas.h>
#include <native_drawing/drawing_pen.h>
#include <native_drawing/drawing_brush.h>
#include <native_drawing/drawing_path.h>
#include <native_drawing/drawing_text_blob.h>

class SampleBitMap {
public:
    SampleBitMap() = default;
    ~SampleBitMap();
    
    void SetWidth(uint64_t width);
    void SetHeight(uint64_t height);
    void* GetText(void);
    
    void Create(void);
    void Destroy(void);
    
    void DrawText(void);
    
private:
    uint64_t width_ = 0;
    uint64_t height_ = 0;

    OH_Drawing_Bitmap *cBitmap_ = nullptr;
    OH_Drawing_Canvas *cCanvas_ = nullptr;
};

#endif  // SAMPLE_BITMAP_H
